package com.example.mygrade.service;

import com.example.mygrade.domain.Student;
import com.example.mygrade.domain.TeacherMa;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface TeacherMaService {
    List<TeacherMa> findAll();
    List<TeacherMa> findByMnameAndMpass(String name, String password) throws Exception;

    TeacherMa findByMnameLike(String userName);
//    int changePass(String userName,String newpassword);

    TeacherMa update(TeacherMa teacherMa);
}
